package rpc.client;

import rpc.annotation.TargetServiceName;
import rpc.pojo.User;

@TargetServiceName(name = "userService",classify = "userService")
public interface IUserService {

    //客户端调用接口---实现类利用动态代理去调用注册中心服务端的方法
    public User getUserById(Integer userId);

}
